module TestInputGenerator
  def test_around_sentences
    params[:id] = 2
    params[:range] = 4
  end
  
  def test_sentences_by_strings
    params[:keywords] = "っている 日本"
  end
  
  def test_list_by_strings
    params[:keywords] = "っている 日本"
    params[:center_uniq] = "check"
  end
  
  def test_sentences_by_words
    params[:keywords] = "京都"
  end

  def test_list_by_words
    params[:keywords] = "京都　日本"
    params[:center_uniq] = "none"
  end
  
  def test_sentences_by_word_sequence
    params[:keywords] = '{"keywords":[{"surface":"日本"},{"surface":"語"}],"center_word":0,"locations":["0"]}'
  end
  
  def test_list_by_word_sequence
    params[:keywords] = '{"keywords":[{"surface":"決して"},{"basetype_surface":"ない"}],"center_word":0,"locations":["<"]}'
    params[:center_uniq] = "none"    
  end
end